﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace Space_Cleaner.SpaceCleaner
{
    class SC_StartRocketEvent : SC_AbstractScriptEvent
    {
        public SC_StartRocketEvent(long _startInMS)
            : base(_startInMS)
        {
        }

        public override void onRun(SC_World world, ContentManager contentMgr)
        {
            /*//ADD Rocket
            SC_Satellite satellite = new SC_Satellite(new Vector2(0.0f, 0.0f), 3.0f, contentMgr.Load<Texture2D>("satellite1"));
            world.addObject(satellite);
            SC_Rocket rocket = new SC_Rocket(contentMgr.Load<Texture2D>("rocket1"));
            world.addObject(rocket);*/

            world.getRocket().start();
            
        }
    }
}
